<link href="<?php echo base_url(); ?>assets/css/jquery-ui-1.8.16.custom.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url(); ?>assets/jscripts/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/jscripts/jquery.ui.datepicker-nl.js"></script>
<script type="text/javascript">
$(function() 
{
	$( "#companytab" ).hide();
	$( "#studenttab" ).hide();
	$( "#datepicker" ).datepicker({
        		changeMonth: true,
        		changeYear: true,
                yearRange: '1930:2011',
                defaultDate: '01-01-1970'
        	});
			$( "#datepicker" ).datepicker("option", "dateFormat", "dd-mm-yy");
			<?php
			if($this->session->userdata('lang') == 'nl'){
					echo '$( "#datepicker" ).datepicker( "option",$.datepicker.regional["nl"] );';
					
			}
			else
			{
				echo '$.datepicker.setDefaults( $.datepicker.regional[ "" ] );';
			}
			?>
		$( "#datepicker2" ).datepicker({
        		changeMonth: true,
        		changeYear: true,
                yearRange: '1930:2011',
                defaultDate: '01-01-1970'
        	});
			$( "#datepicker2" ).datepicker("option", "dateFormat", "dd-mm-yy");
			<?php
			if($this->session->userdata('lang') == 'nl'){
					echo '$( "#datepicker2" ).datepicker( "option",$.datepicker.regional["nl"] );';
					
			}
			else
			{
				echo '$.datepicker.setDefaults( $.datepicker.regional[ "" ] );';
			}
			?>
		
		
});	
function gettype()
{
	var val=$("input[@name=usertype]:checked").val();
	if(val==1)
	{
        window.location = '<?php echo site_url('user/student');?>';
	}
	else
	{
        window.location = '<?php echo site_url('user/company');?>';
	}
}
</script>
<style>
#content .info-contact span.error {
    color: #FF0000;
	clear:none;
    margin-left: 5px;
	float:left;
	font-weight:500;
	padding-top: 4px;
}
.required {
    color: #FF0000;
	font-weight:500;
}

</style>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/jscripts/jquery.validate.js"></script>

<div class="main-banner">
                <div class="right" id="container">
                	<div id="example">
                        <div id="slides">
                            <div class="slides_container"> 
                             <?php
							if(count($slideshows))
							{
								foreach($slideshows as $item)
								{
							?>
                                <a href="#"><img src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_banner').$item['image']; ?>" width="665" height="166" alt="" /></a>
							<?php
                                }
                            }
                            ?>     
                            </div>
                            <div class="bg-left"></div>
                            <div class="bg-right"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div id="main-container">
        	<div class="main-left">
            	<div class="block">
                    <h3><a href="#">Lorem Ipsum is simply dummy</a></h3>
                    <p>Text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</p>
                 </div>
                 <div class="block service">
                 	<h3><a href="#">Diensten:</a></h3>
                    <ul class="list">
                    	<li><a href="jongeren.html">Jongeren</a></li>
                        <li><a href="opleidingstraject.html">Opleidingstraject</a></li>
                        <li><a href="reintegratie.html">Reeintegratie</a></li>
                        <li><a href="bedrijven.html">Bedrijven</a></li>
                    </ul>
                 </div>
            </div>
            <div class="main-right">
            	<h1><?php echo lang('MEMBER CP'); ?></h1>
                
                 <div class="block1">
                 <ul><li>
                        	<label>Maak een keuze:</label>
                            <input name="usertype" onclick="gettype()" type="radio" value="0"  style="clear:none" /><span style="width:90px">vennootschap</span>
                            <input name="usertype" onclick="gettype()" type="radio" value="1" style="clear:none" /><span style="width:90px">student</span>
                </li></ul>
                </div>
            </div>
    <div id="block-social">
    	<p>Rembrandtweg 257, 2981 CZ Ridderkerk</p>
        <ul>
        	<li><img src="<?php echo base_url(); ?>assets/images/icon-facebook-01.png" width="20" height="20" alt="" />
            <a href="http://www.facebook.com/lerenzonderschool">Facebook</a></li>
            <li><img src="<?php echo base_url(); ?>assets/images/icon-twitter-01.png" width="20" height="20" alt="" /><a href="http://www.twitter.com/bma_academy">Twitter</a></li>
            <li><img src="<?php echo base_url(); ?>assets/images/icon-linkedin.png" width="20" height="20" alt="" /><a href="http://www.linkedin.com/company/2536883?trk=tyah">Linkedin</a></li>
            <li><img src="<?php echo base_url(); ?>assets/images/icon-email.png" width="20" height="20" alt="" /><a href="mailto:info@bma-academy.nl">info@bma-academy.nl</a></li>
            <li><img src="<?php echo base_url(); ?>assets/images/icon-phone.png" width="20" height="20" alt="" /><a href="#">0180-420199</a></li>
        </ul>
    </div>
<script>
jQuery(document).ready(function(){
	jQuery("#home").addClass('active');
	$('#billing_info').hide();
});
function changeForm()
	{
		var active=$('input:checkbox[name=billing]:checked').val();
		
		if(active==1)
		{
			//alert(active);
	   		$('#billing_info').hide();
		}
		else
		{
			//alert(active);
			$('#billing_info').show();
		}
	}
</script>